import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { ShanghaiController } from './shanghai.controller';
import { Shanghai } from './shanghai.entity';
import { ShanghaiService } from './shanghai.service';

@Module({
  imports: [TypeOrmModule.forFeature([Shanghai])],
  controllers: [ShanghaiController],
  providers: [ShanghaiService],
})
export class ShanghaiModule {}
